package com.t.bricks.bussiness.db.entity.workovertimeapply.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 加班申请'WorkOvertimeApply'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("加班申请WorkOvertimeApply")
public class WorkOvertimeApplyBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String sId;

	/**
	 * 人员编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sPersonId", sComment="人员编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=1 )
	@ApiModelProperty(value="人员编号", example="")
	//[end]
	protected String sPersonId;

	/**
	 * 人员名称
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sPerson", sComment="人员名称", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=64, iDecimalLength=0, iIndex=2 )
	@ApiModelProperty(value="人员名称", example="")
	//[end]
	protected String sPerson;

	/**
	 * 加班时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="dWorkDate", sComment="加班时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=3 )
	@ApiModelProperty(value="加班时间", example="")
	//[end]
	protected Date dWorkDate;

	/**
	 * 加班原因
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sReason", sComment="加班原因", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=200, isDecimal=false, iIntegralLength=400, iDecimalLength=0, iIndex=4 )
	@ApiModelProperty(value="加班原因", example="")
	//[end]
	protected String sReason;

	/**
	 * 审核人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sAuditorId", sComment="审核人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=5 )
	@ApiModelProperty(value="审核人编号", example="")
	//[end]
	protected String sAuditorId;

	/**
	 * 审核人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sAuditor", sComment="审核人", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=64, iDecimalLength=0, iIndex=6 )
	@ApiModelProperty(value="审核人", example="")
	//[end]
	protected String sAuditor;

	/**
	 * 审核时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="dAuditDate", sComment="审核时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=7 )
	@ApiModelProperty(value="审核时间", example="")
	//[end]
	protected Date dAuditDate;

	/**
	 * 审核描述
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sAuditInfo", sComment="审核描述", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=100, isDecimal=false, iIntegralLength=200, iDecimalLength=0, iIndex=8 )
	@ApiModelProperty(value="审核描述", example="")
	//[end]
	protected String sAuditInfo;

	/**
	 * 确认人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sCheckPersonId", sComment="确认人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=9 )
	@ApiModelProperty(value="确认人编号", example="")
	//[end]
	protected String sCheckPersonId;

	/**
	 * 确认人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sCheckPerson", sComment="确认人", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=64, iDecimalLength=0, iIndex=10 )
	@ApiModelProperty(value="确认人", example="")
	//[end]
	protected String sCheckPerson;

	/**
	 * 确认时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="dCheckDate", sComment="确认时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=11 )
	@ApiModelProperty(value="确认时间", example="")
	//[end]
	protected Date dCheckDate;

	/**
	 * 确认描述
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sCheckInfo", sComment="确认描述", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=100, isDecimal=false, iIntegralLength=200, iDecimalLength=0, iIndex=12 )
	@ApiModelProperty(value="确认描述", example="")
	//[end]
	protected String sCheckInfo;

	/**
	 * 颁奖人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sRewardPersonId", sComment="颁奖人编号", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=16, iDecimalLength=0, iIndex=13 )
	@ApiModelProperty(value="颁奖人编号", example="")
	//[end]
	protected String sRewardPersonId;

	/**
	 * 颁奖人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sRewardPerson", sComment="颁奖人", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=64, iDecimalLength=0, iIndex=14 )
	@ApiModelProperty(value="颁奖人", example="")
	//[end]
	protected String sRewardPerson;

	/**
	 * 颁奖时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="dRewardDate", sComment="颁奖时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=15 )
	@ApiModelProperty(value="颁奖时间", example="")
	//[end]
	protected Date dRewardDate;

	/**
	 * 颁奖描述
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sRewardInfo", sComment="颁奖描述", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=100, isDecimal=false, iIntegralLength=200, iDecimalLength=0, iIndex=16 )
	@ApiModelProperty(value="颁奖描述", example="")
	//[end]
	protected String sRewardInfo;

	/**
	 * 奖金(分)
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="iReward", sComment="奖金(分)", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=17 )
	@ApiModelProperty(value="奖金(分)", example="0")
	//[end]
	protected Integer iReward;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=400, iDecimalLength=0, iIndex=18 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=19 )
	@ApiModelProperty(value="创建者", example="00000000")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="getdate", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=20 )
	@ApiModelProperty(value="创建时间", example="getdate")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=21 )
	@ApiModelProperty(value="修改人", example="00000000")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="getdate", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=22 )
	@ApiModelProperty(value="修改时间", example="getdate")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(枚举,1:草稿;2:已提交;3:已审核;4:已证明;5:已奖励;6:已完结)
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="iState", sComment="状态(枚举,1:草稿;2:已提交;3:已审核;4:已证明;5:已奖励;6:已完结)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=23 )
	@ApiModelProperty(value="状态(枚举,1:草稿;2:已提交;3:已审核;4:已证明;5:已奖励;6:已完结)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=24 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="WorkOvertimeApply", sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=25 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 人员编号
	 * @return String
	 */
	public String getsPersonId() {
		return sPersonId;
	}

	/**
	 * 设置人员编号
	 * @param sPersonId
	 */
	public void setsPersonId(String sPersonId) {
		this.sPersonId = sPersonId;
	}

	/**
	 * 取 人员名称
	 * @return String
	 */
	public String getsPerson() {
		return sPerson;
	}

	/**
	 * 设置人员名称
	 * @param sPerson
	 */
	public void setsPerson(String sPerson) {
		this.sPerson = sPerson;
	}

	/**
	 * 取 加班时间
	 * @return Date
	 */
	public Date getdWorkDate() {
		return dWorkDate;
	}

	/**
	 * 设置加班时间
	 * @param dWorkDate
	 */
	public void setdWorkDate(Date dWorkDate) {
		this.dWorkDate = dWorkDate;
	}

	/**
	 * 取 加班原因
	 * @return String
	 */
	public String getsReason() {
		return sReason;
	}

	/**
	 * 设置加班原因
	 * @param sReason
	 */
	public void setsReason(String sReason) {
		this.sReason = sReason;
	}

	/**
	 * 取 审核人编号
	 * @return String
	 */
	public String getsAuditorId() {
		return sAuditorId;
	}

	/**
	 * 设置审核人编号
	 * @param sAuditorId
	 */
	public void setsAuditorId(String sAuditorId) {
		this.sAuditorId = sAuditorId;
	}

	/**
	 * 取 审核人
	 * @return String
	 */
	public String getsAuditor() {
		return sAuditor;
	}

	/**
	 * 设置审核人
	 * @param sAuditor
	 */
	public void setsAuditor(String sAuditor) {
		this.sAuditor = sAuditor;
	}

	/**
	 * 取 审核时间
	 * @return Date
	 */
	public Date getdAuditDate() {
		return dAuditDate;
	}

	/**
	 * 设置审核时间
	 * @param dAuditDate
	 */
	public void setdAuditDate(Date dAuditDate) {
		this.dAuditDate = dAuditDate;
	}

	/**
	 * 取 审核描述
	 * @return String
	 */
	public String getsAuditInfo() {
		return sAuditInfo;
	}

	/**
	 * 设置审核描述
	 * @param sAuditInfo
	 */
	public void setsAuditInfo(String sAuditInfo) {
		this.sAuditInfo = sAuditInfo;
	}

	/**
	 * 取 确认人编号
	 * @return String
	 */
	public String getsCheckPersonId() {
		return sCheckPersonId;
	}

	/**
	 * 设置确认人编号
	 * @param sCheckPersonId
	 */
	public void setsCheckPersonId(String sCheckPersonId) {
		this.sCheckPersonId = sCheckPersonId;
	}

	/**
	 * 取 确认人
	 * @return String
	 */
	public String getsCheckPerson() {
		return sCheckPerson;
	}

	/**
	 * 设置确认人
	 * @param sCheckPerson
	 */
	public void setsCheckPerson(String sCheckPerson) {
		this.sCheckPerson = sCheckPerson;
	}

	/**
	 * 取 确认时间
	 * @return Date
	 */
	public Date getdCheckDate() {
		return dCheckDate;
	}

	/**
	 * 设置确认时间
	 * @param dCheckDate
	 */
	public void setdCheckDate(Date dCheckDate) {
		this.dCheckDate = dCheckDate;
	}

	/**
	 * 取 确认描述
	 * @return String
	 */
	public String getsCheckInfo() {
		return sCheckInfo;
	}

	/**
	 * 设置确认描述
	 * @param sCheckInfo
	 */
	public void setsCheckInfo(String sCheckInfo) {
		this.sCheckInfo = sCheckInfo;
	}

	/**
	 * 取 颁奖人编号
	 * @return String
	 */
	public String getsRewardPersonId() {
		return sRewardPersonId;
	}

	/**
	 * 设置颁奖人编号
	 * @param sRewardPersonId
	 */
	public void setsRewardPersonId(String sRewardPersonId) {
		this.sRewardPersonId = sRewardPersonId;
	}

	/**
	 * 取 颁奖人
	 * @return String
	 */
	public String getsRewardPerson() {
		return sRewardPerson;
	}

	/**
	 * 设置颁奖人
	 * @param sRewardPerson
	 */
	public void setsRewardPerson(String sRewardPerson) {
		this.sRewardPerson = sRewardPerson;
	}

	/**
	 * 取 颁奖时间
	 * @return Date
	 */
	public Date getdRewardDate() {
		return dRewardDate;
	}

	/**
	 * 设置颁奖时间
	 * @param dRewardDate
	 */
	public void setdRewardDate(Date dRewardDate) {
		this.dRewardDate = dRewardDate;
	}

	/**
	 * 取 颁奖描述
	 * @return String
	 */
	public String getsRewardInfo() {
		return sRewardInfo;
	}

	/**
	 * 设置颁奖描述
	 * @param sRewardInfo
	 */
	public void setsRewardInfo(String sRewardInfo) {
		this.sRewardInfo = sRewardInfo;
	}

	/**
	 * 取 奖金(分)
	 * @return Integer
	 */
	public Integer getiReward() {
		return iReward;
	}

	/**
	 * 设置奖金(分)
	 * @param iReward
	 */
	public void setiReward(Integer iReward) {
		this.iReward = iReward;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(枚举,1:草稿;2:已提交;3:已审核;4:已证明;5:已奖励;6:已完结)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(枚举,1:草稿;2:已提交;3:已审核;4:已证明;5:已奖励;6:已完结)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
